User:Xymph/Speedrunners

Matching and linking speedrunners
When collecting information about speedrunners for their wiki articles, the first problem encountered is that quite a few players go by a variety of names/aliases between the wiki and the former and current Compet-n and DSDA sites, and that the demo sites use different identification systems.

To match them all up, I created a (single-table) database on my home server, with scripts to fill it. Initially all entries in the speedrunners category were loaded (script srLoadCat.php), then scripts for each of the demo sites matched up names/aliases and, upon manual verification/approval, added their names, IDs, demo counts and profile status to the table.
 * For former Compet-n, a pre-formatted text listing of the players list was used (srcompetnold.lst and srAddCmpnOld.php).
 * For current Compet-n, Fx kindly provides read-only MySQL access (srAddCmpnNew.php).
 * For former and current DSDA, the HTML player pages were parsed into SimpleXML objects that could then be traversed (srAddDsdaOld.php and srAddDsdaNew.php).

Listing script srGenTable.php produces the table below. Please let me know if you spot any mismatches.

From the table the speedrunners' external links sections are verified/updated/added (updateSRunners.php), and it will help in compiling record tables for maps and players. In the end, I decided to retire the (non-templated) profile links to former Compet-n as they duplicate the player profiles on current Compet-n. But because current DSDA isn't importing player profiles from former DSDA, both sites remain relevant and are included.

In the first pass, articles already in the speedrunners category are processed. In the second pass, more players are added to the category, and the above steps repeated. Players with few demos on few WADs are added manually to my database, not the category, as not everyone would be considered speedrunning. The "few" threshold is somewhat arbitrary and obviously debatable. In the third pass, more established speedrunners are added manually to the database, from which stub articles with external links are generated (createSRunner.php).

The list
The table below matches speedrunner articles with their entries on the demo sites (state of 2020-06-22 15:40 CDT).